//
//  HoobiesSortCell.m
//  iShop
//
//  Created by svp on 24/12/2011.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "HobbiesSortCell.h"


@implementation HobbiesSortCell

@synthesize category = _category;
@synthesize upButton = _upButton;
@synthesize downButton = _downButton;
@synthesize delegate = _delegate;

-(IBAction) upButtonPress:(id) sender
{
	if (_delegate && [_delegate respondsToSelector:@selector(moveUp:)]) {
		[_delegate moveUp:self];
	}
}

-(IBAction) downButtonPress:(id) sender
{
	if (_delegate && [_delegate respondsToSelector:@selector(moveDown:)]) {
		[_delegate moveDown:self];
	}
}

@end
